import request from '../baseRequest.js'
const baseURL = '/demand-order'


export function postOwnerOrder(data) {
  let baseDefaultOpts = {
    url: baseURL + '/order',
    // 请求接口地址
    data: data,
    // 传入请求参数
    method: 'post',
    // 配置请求类型
    header: {
      'X-Requested-With': 'XMLHttpRequest',
      "Accept": "application/json",
      "Content-Type": "application/json; charset=UTF-8"
    },
  }
  return request(baseDefaultOpts)
}

